#include<stdio.h>


/*for循环*/

int main()
{
    

     int count = 0;
     for (int i = 2; i<100; i++)
     {
        int flag = 1;
        for(int factor = 2; factor < i; factor++ )
        {
            if(i % factor == 0)
            {
                flag = 0;
                break;
            }
        }
            if(flag ==1)
            {
                printf("i = %d\n", i);
                count++;
            }
        }
     
     
     
        printf("count:%d\n",count);
     

      return 0;
}